#include <stdio.h>

int main() {
    int arr[5] = {1, 2, 3, 4, 5};
    int *p;
    for (p = arr; p < (arr + 5); p++) {
        printf("arr[%d]=%d\n", p, *p);
    }
    return 0;
}